<?php
include_once BASEPATH. "application/news/models/News.php";

class News_AdmController extends Zend_Controller_Action
{

	public function init()
	{
		$this->request = $this->getRequest()->getParams();
	}

	public function indexAction()
	{
		$news = new News();

		$this->view->totalNoticias = $news->count();

		$this->render();
	}
}
?>
